﻿<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="administrator/css/style.css" />
<link type="text/css" rel="stylesheet" href="administrator/css/layout.css" />
<title>Chi tiết thông báo</title>

<body>
<?php 
include("include/config.php");
?>
<?php
if(isset($_REQUEST['id']))
{
	$id = $_REQUEST['id'];
	$sql = "SELECT * FROM notification WHERE id = $id";
	$rs = mysql_query($sql);
	if($rs)
	{
		$rw = mysql_fetch_array($rs); //only 1 result
?>

<div id="head-noidung">
	<div id="head-main">
		<table class="classtable" style = "margin-left:auto; margin-right:auto;table-layout:fixed;word-wrap:break-word;">
		<tr> <td><h4 style = "float:left;margin-right:10px;">Chi Tiết Thông Báo </h4> </td> </tr>
		<tr> <td><h2 style = "text-align:center;"> <?php echo $rw['title']; ?> </h2> </td> </tr>
		<tr> <td><strong style = "text-align:left;"> Ngày Đăng:<?php echo " ".$rw['date']; ?> </strong></td> </tr>
		<tr> <td> <a> <?php echo $rw['description']; ?> </td> </tr>
		</table>
	</div>	
</div>


<?php
	}
}
?>
</body>
</html>